/*************************************************************************
 *                                                                       *
 * This file is part of the DogosFrame distribution.  For full copyright *
 * information, see COPYRIGHT and COPYING.LESSER.                        *
 *                                                                       *
 * Author:           sqbang                                              *
 * Email:            sqbang@ustc.edu                                     *
 *                                                                       *
 *************************************************************************/

// Note: no include guards!  We want to be able to #include this
// header multiple times.

#include "DogosConfig.h"

#ifdef __clang__
#pragma clang diagnostic pop
#endif

#if defined(__GNUC__) && !defined(__INTEL_COMPILER) && !defined(__clang__)
// GCC > 4.1 supports diagnostic pragmas
#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ > 1)
// TODO: use the gcc 4.6 push/pop when available
#pragma GCC diagnostic warning "-Wunused-parameter"
#pragma GCC diagnostic warning "-Wdeprecated"
#pragma GCC diagnostic warning "-Wpedantic"
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
#endif // GCC > 4.1
#endif // __GNUC__ && !__INTEL_COMPILER
